namespace HTPI.MemberPoint.Entity.POCOModel
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Student")]
    public partial class Student
    {
        [Key]
        public int stuid { get; set; }

        [Required]
        [StringLength(100)]
        public string stuname { get; set; }

        public int stuage { get; set; }

        [Required]
        [StringLength(100)]
        public string phone { get; set; }

        [Required]
        [StringLength(100)]
        public string email { get; set; }

        public int? classid { get; set; }

        public virtual Class Class { get; set; }
    }
}
